-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sunxi 6.12: Switch to v6.12.13, Add HDMI support #7752
base: main
Are you sure you want to change the base?
Conversation
e319eac
to
9193744
Compare
I haven't been able to get the M4 Zero to boot above v2024.04 in Armbian for some reason. I figured it was something in the Kernel patching as I am able to do so in my personal builds. Does this PR have eMMC boot support? |
u-boot v2025.01 in the default configuration for h616, implies OF_UPSTREAM to be set to
eMMC is detected correctly. I haven't tried downloading from eMMC yet. Detected problems: Strange. The same changes on core 6.6, the HDMI works for me, |
Is the Ethernet working? |
It uses emac1, which at this time requires some special driver and although some one recently added it to Armbian I haven't tried testing it. Doesn't even have an eth port anyway, which I'm guessing means there is a HAT you can use on it. As for the u-boot, yes I've done all that. The issue for me, is that above U-Boot v2024.04 it won't load the Armbian kernel. It just hangs at the loading stage. If I use my own kernel, it loads fine. Not sure why, just like I haven't been able to figure out why the Bluetooth fails to load in Armbian either. |
I suspect that this is with the 6.6 kernel. |
Maybe some of these patches will help? |
You decide when this is ready. Also we need to move CURRENT to 6.12, legacy 6.6, edge 6.13 by the end of 2/2025. Any deep problems preventing this? |
We can reschedule it at any time.
What should I do first? |
Kernel 6.12 should be main priority, 6.13 slow. |
It's been a long time since I've read so much primary documentation. @TheSnowfield @chraac @JohnTheCoolingFan |
Tried this branch on bigtreetech cb1, ethernet works as usual. |
It looks like after sunxi-6.7 the "drivers-hack-for-h616-hdmi-video-output.patch" and several |
Nothing is easy ;) We are swamped with work and there might be other patches that needs adjustments. Any help is greatly appreciated if we want to squeeze 6.12 to Armbian 25.02 current kernel. No HDMI is deal breaker. |
26 patches! But this is already an option to use. Thanks for the advice. |
|
And I suspect that HDMI is running on your board? In the settings for your board: patch/u-boot/v2024.04/board_orangepizero2w Bigtreetech-cb1 and bananapi-m4-(zero, berry) use their own separate patch folders. As far as I understand from the documentation, some hardware parts of the chip are disabled by default. It will be very good if we help each other. |
The HDMI was not tested yet, |
Without any changes, simply connect the HDMI cable from the monitor to the board and turn it on. Sorry. I saw you have a patch with a magic register for the GPU. |
9193744
to
e429cff
Compare
Added the DE33 driver.
|
Sorry, I can't test my sakurapi-3308b, because it was a broken boot on the latest Armbian. I haven't figured out the problem. |
I'm sorry. I thought your interest was sunxi. But your devices are on rockchip chips. |
Haha, never mind. sunxi chip devices will come later :) |
Also disable some megous patches
Delete pre-applied ones and re-export patches.
e429cff
to
20a8a83
Compare
DMESG: bananapim4berry:~$ dmesg | grep -iE 'drm|hdmi|gpu'
[ 0.098994] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[ 0.099054] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/hdmi@6000000
[ 0.103915] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[ 0.104280] /soc/hdmi@6000000: Fixed dependency cycle(s) with /soc/tcon-top@6510000
[ 0.104438] /soc/tcon-top@6510000: Fixed dependency cycle(s) with /soc/hdmi@6000000
[ 0.106983] /soc/hdmi@6000000: Fixed dependency cycle(s) with /connector
[ 0.107066] /connector: Fixed dependency cycle(s) with /soc/hdmi@6000000
[ 1.597542] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff80008119ac98)
[ 1.604970] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff80008119fa38)
[ 1.610933] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800081197a60)
[ 1.613434] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY)
[ 1.621580] sun8i-dw-hdmi 6000000.hdmi: EVENT=plugin
[ 1.622717] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver
[ 3.483673] sun4i-drm display-engine: bound 6000000.hdmi (ops 0xffff800081199d60)
[ 3.491742] [drm] Initialized sun4i-drm 1.0.0 for display-engine on minor 0
[ 3.498754] sun8i-dw-hdmi 6000000.hdmi: read_hpd result: 1
[ 4.107497] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device
[ 8.567030] systemd[1]: Starting [email protected] - Load Kernel Module drm...
[ 9.102893] systemd[1]: [email protected]: Deactivated successfully.
[ 9.115476] systemd[1]: Finished [email protected] - Load Kernel Module drm.
[ 40.468588] sun8i-dw-hdmi 6000000.hdmi: EVENT=plugin
[ 41.362152] sun8i-dw-hdmi 6000000.hdmi: EVENT=plugin At this stage, HDMI works on two boards. @igorpecovnik I think it can be taken if someone approves it. |
Please excuse me. |
Description
How Has This Been Tested?